package com.example.xianji.activity;

import com.example.xianji.R;
import com.example.xianji.fragment.FuWu_Fragment;

import android.os.Bundle;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTransaction;
import android.view.WindowManager;

public class Main_FuWuActivity extends FragmentActivity {
	private FuWu_Fragment mFuWu_Fragment;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		if(VERSION.SDK_INT>=VERSION_CODES.KITKAT){
			getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
			getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
		}
		setContentView(R.layout.activity_main__fu_wu);
		mFuWu_Fragment=new FuWu_Fragment();
		 FragmentTransaction transaction=getSupportFragmentManager().beginTransaction();
		 
		 transaction.add(R.id.frame_fuwu_layout, mFuWu_Fragment).show( mFuWu_Fragment).commit();
	}



}
